Skip to main content

foundField

Type

function

Summary

Returns the field in which text was located by the most recent find command.

Syntax

the foundField
foundField

Description

Use the foundField function after a find command to determine where the text was found.

The foundField function is cleared when the text selection moves into the foundField or when the current card is closed. At the same time, the box the find command draws around the found text disappears. If there is no box, the foundField function returns empty.

Examples

the foundField
if word 2 of the foundField is the number of field 1 then findItAgain
select the text of the foundField

keyword: field, selection

command: find

control structure: function

function: number

glossary: property, current card, command, return

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?